import 'package:flutter/material.dart';
import 'package:ruitmentapp/main/tabbar/zj_tabbar_controller.dart';
import 'package:ruitmentapp/core/shared/size_fit.dart';
import 'package:ruitmentapp/core/shared/app_theme.dart';
import 'package:ruitmentapp/core/router/router.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {

    ZJSizeFit.initialize();

    return MaterialApp(
      title: '指缘招聘',
      theme: ZJAppTheme.norTheme,
      initialRoute: ZJRouter.initialRoute,
      routes: ZJRouter.routes,
      // onGenerateRoute: ZJRouter.generateRoute,
      onUnknownRoute: ZJRouter.unknownRoute,
      debugShowCheckedModeBanner: false,
      home: const ZJTabbarController(),
    );
  }
}

